export default (obj) => {
    if (typeof obj != 'object') {
        console.error('需传入对象');
        return;
    }

    let empty = true;
    for (var key in obj) {
        if (obj[key]) empty = false;
    }

    return empty;
}